Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DescomplicandoKubernetes #9

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

DescomplicandoKubernetes #9

wants to merge 6 commits into from

Conversation

marabesi
Copy link

No description provided.

marabesi added 2 commits June 18, 2023 12:08
Executando o comando **kubectl expose pod nginx** mostra uma mensagem diferente da ilustrada no passo seguinte.

Tomando como base o passo anterior, o nome do pod é `meu-nginx`.

O comando para seguir o texto é: **kubectl expose pod meu-nginx**
Executando o commando **kubectl delete service nginx** resulta no seguinte erro: Error from server (NotFound): services "nginx" not found.

Tomando como base o service criado anteriormente o nome seria "meu-nginx" assim como o pod, ficando:

kubectl delete service meu-nginx
@marabesi marabesi changed the title day-1 - nome dos recursos DescomplicandoKubernetes/day-1 - nome dos recursos Jun 18, 2023
* Removendo o fragmento "labels.run" porque o seguinte erro é exibido ao executar o yaml: "Error from server (BadRequest): error when creating "pod-emptydir.yaml": Pod in version "v1" cannot be handled as a Pod: strict decoding error: unknown field "labels""

* Adicionado o nome do pod para executar o comando exec que usa a imagem ubuntu
@marabesi marabesi changed the title DescomplicandoKubernetes/day-1 - nome dos recursos DescomplicandoKubernetes/day-1 e day 2 Jun 18, 2023
@marabesi marabesi changed the title DescomplicandoKubernetes/day-1 e day 2 DescomplicandoKubernetes Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant